#define _CRT_SECURE_NO_WARNINGS

#include "class.h"

void Time:: settime()
{
	cin >> hour >> minute >> second;
}

void Time:: show()
{
	cout << hour << endl;
	cout << minute << endl;
	cout << second << endl;
}